package com.example.demo;

import lombok.Data;

import java.util.List;

/**
 * @author gxing
 * @desc TODO
 * @date 2023/8/17
 */
@Data
public class DeptDataPermission {

    private String deptCode;
    private List<String> empCodeList;

    public DeptDataPermission() {
    }

    public DeptDataPermission(String deptCode, List<String> empCodeList) {
        this.deptCode = deptCode;
        this.empCodeList = empCodeList;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public List<String> getEmpCodeList() {
        return empCodeList;
    }

    public void setEmpCodeList(List<String> empCodeList) {
        this.empCodeList = empCodeList;
    }

    @Override
    public String toString() {
        return "DeptDataPermission{" +
                "deptCode='" + deptCode + '\'' +
                ", empCodeList=" + empCodeList +
                '}';
    }
}
